home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2001 Haziran / CHIP Haziran2001.iso / prog / haziran / 20 / setup.exe / {app} / plugins / XQ Yahoo Messenger 6.xpl < prev    next >
Encoding:
XSetup plugin  |  2001-03-28  |  1.4 KB  |  34 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="3"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Instant Messaging\Yahoo Messenger"
  5. "NAME"="Application Icon"
  6. "VERSION"="1.0"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Icon File"
  9. "DATA 1"="Icon Files (*.ico)|*.ico|All Files (*.*)|*.*"
  10. "DESCRIPTION 1"="You can change the icon used by Yahoo! Messenger in its title bars and in the system tray here."
  11. "DESCRIPTION 2"="NOTE #1: The icon must be contained within a Windows Icon (*.ico) file, and must be in the correct format (not a bitmap with a .ico extension)"
  12. "DESCRIPTION 3"="NOTE #2: If you have Yahoo! Messenger open at the moment, you will need to close it so that the changes can take effect."
  13. "DESCRIPTION 4"="Yahoo! Messenger may be obtained at http://messenger.yahoo.com/."
  14. "AUTHOR"="Neil R. Turner (totalxs@hotmail.com) for Xteq Systems"
  15. "CONTACTURL"="http://www.neilrt.cwc.net/"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="Fed up with Yahoo!? Try http://dmoz.org/."
  18.  
  19. sP="HKCR\TypeLib\{F0012D80-989C-11D3-B7C5-0090271D5CA7}\3.0\HELPDIR\@"
  20.  
  21. Sub Plugin_Initialize
  22.  s=RegReadValue(sP)
  23.  t=IniReadValue(s & "\cobrand.ini","ICON","App Icon")
  24.  Call SetUIElement(1,t)
  25. End Sub
  26.  
  27. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  28.  t=GetUIElement(1)
  29.  s=RegReadValue(sP)
  30.  Call IniWriteValue(s & "\cobrand.ini","ICON","App Icon",t)
  31. End Sub
  32.  
  33. Sub Plugin_Terminate 
  34. End Sub